package com.example.leero.graduation;

/**
 * Created by Leero on 2017-4-13.
 */

public class API {
    public static final String BASE_SERVER = "http://123.207.237.21:3000";

    public static final String BASE_URL = "http://123.207.237.21:3000/api/v1/";

    // 不需要登录
    public static final String REGISTER = BASE_URL + "admin/register";
    public static final String LOGIN = BASE_URL + "admin/login";
    public static final String FORGET_PASSWORD = BASE_URL + "admin/forget_password";
    public static final String GET_ALL_ACTIVITIES = BASE_URL + "admin/get_all_activities";
    public static final String SELECT_ACTIVITY = BASE_URL + "admin/select_activity";
    public static final String GET_ACTIVITY_DETAIL = BASE_URL + "admin/get_activity_detail";
    public static final String GET_USER_INFO = BASE_URL + "admin/check_other";
    public static final String FEEDBACK = BASE_URL + "admin/feedback";
    public static final String EDIT_ACCOUNT = BASE_URL + "admin/edit_account";
    public static final String UPLOAD_AVATAR = BASE_URL + "admin/upload_avatar";
    public static final String UPLOAD_MILEAGE = BASE_URL + "admin/upload_mileage";
    public static final String GET_RANK = BASE_URL + "admin/get_mileage_rank";
    public static final String GET_APPLY_LIST = BASE_URL + "admin/get_apply_list";
    public static final String AGREE_APPLY = BASE_URL + "admin/pass_sign_up";
    public static final String REJECT_APPLY = BASE_URL + "admin/reject_sign_up";
    public static final String USER_JOIN = BASE_URL + "admin/get_activities_user_join";
    public static final String USER_PUBLISH = BASE_URL + "admin/get_activities_user_publish";
    public static final String INTEGRAL_RECORD = BASE_URL + "admin/get_integral_record";
    public static final String UPDATE_FAVOUT_SPORT = BASE_URL + "admin/edit_favour_sport";

    // 需要登录
    public static final String GET_USER = BASE_URL + "admin/get_user";
    public static final String LOGOUT = BASE_URL + "admin/logout";
    public static final String RESET_PASSWORD = BASE_URL + "admin/reset_password";
    public static final String PUNCH_CLOCK = BASE_URL + "main/punch_clock";
    public static final String PUNCH_CLOCK2 = BASE_URL + "admin/punch_clock2";
    public static final String PUBLISH_ACTIVITY = BASE_URL + "admin/publish_activity";
    public static final String COMMENT_ACTIVITY = BASE_URL + "admin/comment_activity";
    public static final String JOIN_ACTIVITY = BASE_URL + "admin/join_activity";
    public static final String CANCEL_REGISTRATION = BASE_URL + "admin/cancel_registration";
}
